Release 10.1A: OpenEdge Development:
ADM Reference


viewWidget

Views the object or objects identified in the namelist (and their popup buttons). For SmartDataFields, it invokes the viewObject method.

Location: visual.p

Parameters:

INPUT namelist AS CHARACTER

The name of one or more objects, separated by commas.

Returns: LOGICAL

Notes: None

Examples:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF widgetIsTrue("Shipped":U) THEN 
 viewWidget("ShipDate":U). 

The following illustrates the use of this method in DHTML code for use with a Web browser:

if (logic.widgetIsTrue(‘myviewv.shipped’)) 
  logic.viewWidget(‘orderviewv.shipdate’); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095